﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ConnectionControl;
using pokerServer.ProtHandlers.Interfaces;


namespace pokerServer.ProtHandlers
{
	public enum TableErrors
	{
		ERR_TableNotExist,
		ERR_TableJoind,
		ERR_TableFull,
		ERR_TableSeatNotExist,
		ERR_TableSeatJoined,
		ERR_NotEnoughCredits,
		ERR_SeatTaken,
		ERR_LeftSeat,
		ERR_LeftTable,
		ERR_Default,
		ERR_SeatNotTaken,
		ERR_NoSuchUser
	}
	abstract class absTableSeatHandler : IProtHandle, ISeatTable
	{
		protected ConnectionManag cm;
		protected String[] synt;
		
		public virtual string work()
		{
			return "ABS DOESNT DO ANYTHING";
		}

	    public virtual string analyze(TableErrors t)
		{
			return "ABS DOESNT DO ANYTHING";
		}

	}
}
